import { createApp } from 'vue'
import App from './App.vue'
const app=createApp(App)


for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
import router from './Router/router'
// createApp(App).use(router)
//引入element ui
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import Particles from 'particles.vue3'
import VueParticles from 'vue-particles'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn';//解决elementpLus一些组件是英文的问题


app.use(ElementPlus,{locale:zhCn})
app.use(router)
app.use(VueParticles)

app.mount('#app')


